﻿using System;
using System.Collections.Generic;
using System.Text;

namespace VGS {
    /// <summary>
    /// Enum specifying team
    /// </summary>
    public enum TeamEnum
    {
        HOME_TEAM,
        AWAY_TEAM
    }

    /// <summary>
    /// This class contains information about the team, such as name and its players
    /// </summary>
    public class Team
    {
        private string name; // The team's name
        private Players players = new Players(); // Players in the team

        /// <summary>
        /// Get the players
        /// </summary>
        public Players Players
        {
            get
            {
                return players;
            }
        }


        /// <summary>
        /// Get or set the team's name
        /// </summary>
        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }
    }
}
